import type { CommonReturn, CommonReturnListItem } from '../types/all'

export type DnsResolveDomainListItem = CommonReturnListItem<
  '/v1/dnsauthority/domains',
  'get'
>
export type DnsRecordItem = CommonReturnListItem<
  '/v1/dnsauthority/records',
  'get'
>
export type GtmInstanceItem = CommonReturnListItem<
  '/v1/dnsauthority/gtm/instances',
  'get'
>
export type DnsStrategyListItem = CommonReturnListItem<
  '/v1/dnsauthority/gtm/strategies',
  'get'
>
export type DnsAddressPoolListItem = CommonReturnListItem<
  '/v1/dnsauthority/gtm/address_pools',
  'get'
>
export type DnsNsListItem = CommonReturnListItem<
  '/v1/dnsauthority/nameservers',
  'get'
>
export type DnsNsVersionListItem = CommonReturnListItem<
  '/v1/dnsauthority/node/versions',
  'get'
>
export type DnsLinesListItem = CommonReturnListItem<
  '/v1/dnsauthority/lines',
  'get'
>
export type DnsNodeVersionLatest = CommonReturn<
  '/v1/dnsauthority/node/version/latest',
  'get'
>
